package com.neusoft.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import com.neusoft.service.AttendListService;
import com.neusoft.vo.AttendListSearchVO;
import com.neusoft.vo.AttendListVO;

@CrossOrigin
@RestController
public class AttendListHandler {
	
	@Autowired
	private AttendListService ser;
	
	@PostMapping("/getAttendList")
	public List<AttendListVO> getAttendList(@RequestBody AttendListSearchVO vo) {
		return ser.getAttendList(vo);
	}
}
